package com.gjj.echarts.echartsgjj.vo;

import lombok.Data;
import lombok.ToString;

import java.math.BigDecimal;
import java.util.HashMap;
import java.util.Hashtable;

/**
 * 所有的自动扣款，包括委托收款
 */
@Data
@ToString
public class AutoChannelVo {
    //委托收款
    private BigDecimal consignmentCollection;
    private Integer consignmentCollectionUnit;
    private Integer consignmentCollectionPeople;

    //总单位数
    private Integer totalAutoUnit;

    //总人数
    private Integer totalAutoPeople;

    public Integer getTotalAutoUnit() {
        Integer total = 0;
        total += this.getConsignmentCollectionUnit();
        return total;
    }

    public Integer getTotalAutoPeople() {
        Integer total = 0;
        total += this.getConsignmentCollectionPeople();
        return total;
    }

}
